<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="en" class="error_page">
    <head>
        <%
            String baseUrl = request.getRequestURL().toString().replaceFirst(request.getRequestURI(), request.getContextPath());
            baseUrl = baseUrl.charAt(baseUrl.length() - 1) == '/' ? baseUrl : baseUrl + '/';
        %>
        <base href="<%=baseUrl%>"/>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Error Page - Don't have permissions</title>
        <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
        <!-- main styles -->
        <style type="text/css" media="all">
            @import url("css/style.css");
        </style>
        
    </head>
    <body>
        
        <div class="error_box">
            <h1>Don't have permissions</h1>
            <p>You do not have sufficient permissions to view this page.</p>
            <a href="javascript:history.back()" class="submit gray back_link">Go back</a>
        </div>
        
    </body>
</html>